package com.zhang.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

public class Article implements Serializable {
    @ApiModelProperty(value = "公告id")
    private Long articleId;

    @ApiModelProperty(value = "文章的链接")
    private String articleHref;

    @ApiModelProperty(value = "文章的日期")
    private Date articlePubtime;

    @ApiModelProperty(value = "公告标题")
    private String articleTitle;

    @ApiModelProperty(value = "公告来源")
    private String articleSource;

    @ApiModelProperty(value = "HTML")
    private String articleContent;

    private static final long serialVersionUID = 1L;

    public Long getArticleId() {
        return articleId;
    }

    public void setArticleId(Long articleId) {
        this.articleId = articleId;
    }

    public String getArticleHref() {
        return articleHref;
    }

    public void setArticleHref(String articleHref) {
        this.articleHref = articleHref;
    }

    public Date getArticlePubtime() {
        return articlePubtime;
    }

    public void setArticlePubtime(Date articlePubtime) {
        this.articlePubtime = articlePubtime;
    }

    public String getArticleTitle() {
        return articleTitle;
    }

    public void setArticleTitle(String articleTitle) {
        this.articleTitle = articleTitle;
    }

    public String getArticleSource() {
        return articleSource;
    }

    public void setArticleSource(String articleSource) {
        this.articleSource = articleSource;
    }

    public String getArticleContent() {
        return articleContent;
    }

    public void setArticleContent(String articleContent) {
        this.articleContent = articleContent;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", articleId=").append(articleId);
        sb.append(", articleHref=").append(articleHref);
        sb.append(", articlePubtime=").append(articlePubtime);
        sb.append(", articleTitle=").append(articleTitle);
        sb.append(", articleSource=").append(articleSource);
        sb.append(", articleContent=").append(articleContent);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}